home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-01-21 | 3.7 KB | 132 lines | [TEXT/ttxt] |
- Readme PTStereo 2.0b1
-
-
- Changes to version 0.1:
-
- o Textures for texture mapping can be selected from
- different images.
- o Front end 'PTPicker' added for simple
- triangulation.
- o Versioning has been adjusted to the
- library file 'pano12.lib'.
-
-
- General:
- =======
-
- PTStereo creates 3D-worlds from image pairs.
- Applications range from object movies to terrain
- visualization. Any pair of images can be used
- without alignment requirements. 3D-data can be
- extracted for any feature visible in both images,
- as long as the two images have different viewpoint
- (non-zero stereo base).
-
- User input involves the triangulation of both
- images: Corresponding feature points have to be
- identified, and connected to a mesh consisting
- of triangles. The output of PTStereo is a
- 3D-world ready to be viewed with any VRML-browser.
- This world consists of a texture mapped indexed face
- set. The second output is a log-file consisting of
- information regarding the quality of the numeric
- fit, and the calculated coordinates. The log-file
- itself can be used as input for further refinements
- and transformations.
-
-
- Installation:
- =============
-
- The application 'PTStereo' requires the folder
- 'Templates' to be in the same directory. PTStereo
- uses the library 'pano12.lib', which either has
- to be in the same directory as 'PTStereo', or be
- dropped onto the system folder. Your system should
- move it then to the extensions folder.
-
-
-
- Using PTStereo:
- ===============
-
- PTStereo should be used as helper for the
- frontend 'PTPicker'. Using PTPicker, a textfile
- is generated consisting of feature point coordinates
- and triangles. Download the file
- <http://www.fh-furtwangen.de/~dersch/examples.zip>.
- for an example.
-
- More Uses:
- ==========
-
- (1) The final Project file contains
- vertex coordinates in Meshwork syntax. These
- can be cut and pasted into mesh file to
- generate a 3D-mesh for editing in Meshwork.
-
- (2) The final Project file contains
- commands ('o'-lines) for Panorama Tools:
- Execute these lines in the adjust-submenu
- (mode 'insert', 'use script') and the images
- texture0.jpg and texture1.jpg are transformed
- to have parallel film planes. They can then
- be used for view interpolation with any
- Morphing software, or for stereo viewing.
-
-
- How it works:
- =============
-
- To extract depth data from stereo images,
- careful alignment of the images is usually
- reqired: The images must have parallel film
- planes to directly apply the stereo equations.
- The nontrivial part of this program is the
- perspective change to achieve this alignment.
- You can control this alignment by analyzing the
- projectfile, lines after
- # Control Points: Distance between desired and fitted Position (in Pixels)
- This should be less than a pixel, but works up to
- 5 pixel. Values of more than 10 pixel indicate
- wrong assignments of controlpoints. Large values
- may also be due to lens distortions which can be
- corrected in the 'i'-line, see 'PTSTitcher'-docs.
- Fitting is performed using a multivariable
- Levenberg-Marquardt solver.
-
- The depth of a point (z-coordinate) can then simply
- be calculated using the equation
- z = focalLength * Stereobase / [x(0)-x(1)]
- StereoBase is set to 1 and focalLength is calculated
- from field of view (v-entry in i-line).
- These coordinates are now relative to the aligned
- first image, and are finally transformed back
- to the position of the left input image.
- Field of view defaults to 50degress, and has
- to be set manually in the scripting file.
-
- Accuracy depends on the distance of an object relative
- to the stereo base. Distances much larger (eg > 20 times)
- or features much smaller than the stereo base are not well
- resolved.
-
-
-
- Enjoy.
-
- Helmut Dersch
- der@fh-furtwangen.de
-
- -------------------------------------
- Spherical Panoramas, Macro Panoramas,
- Free Panorama Software:
- <http://www.fh-furtwangen.de/~dersch>
-
-
-
-
-
-
-
-